/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package com.xiashitech.agent.instrumentation.netty.netty_common;

//import com.google.auto.value.AutoValue;

import javax.annotation.Nullable;
import java.net.SocketAddress;


public class NettyConnectionRequest {

  public NettyConnectionRequest(String resolve, SocketAddress remoteAddress) {
  }

  public static NettyConnectionRequest resolve(SocketAddress remoteAddress) {
    return new NettyConnectionRequest("RESOLVE", remoteAddress);
  }

  public static NettyConnectionRequest connect(SocketAddress remoteAddress) {
    return new NettyConnectionRequest("CONNECT", remoteAddress);
  }

  public String spanName() {
    return spanName();
  }

  @Nullable
  public SocketAddress remoteAddressOnStart() {
    return null;
  }
}
